<?php
class MenuItem
{
	public $name;
	public $url;
	public $menu;
	public $active = false;
	
	function __construct($name, $url, $menu = null)
	{
		$this->name = $name;
		$this->url = $url;
		$this->menu = $menu;
	}
	function activate()
	{
		$this->active = true;
	}
}

?>